<?php echo '<?xml version="1.0" encoding="UTF-8"?>'?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<?php foreach($parts as $p):?>
    <sitemap>
        <loc><?php echo $p?></loc>
        <lastmod><?php echo date('Y-m-d');?></lastmod>
     </sitemap>
<?php endforeach;?>
</sitemapindex>

